package org.example.Constant;

/**
 * @Author : zhangbo
 * @data : 2024/7/12
 * @description :
 */
public class RabbitConstant {
    /**
     * 队列
     */
    public class Queue {
        /**
         * 全量用户保存Queue
         */
        public static final String QUEUE_USER = "queue.user.new";
        /**
         * 两人组团活动Queue
         */
        public static final String QUEUE_FIND_ALL = "queue.find.all";
        /**
         * 两人组团活动，加入团Queue
         */
        public static final String QUEUE_UPDATE_STATUS = "queue.update.status";
    }

    /**
     * 交换机模式
     */
        public class Exchange {
        public static final String TOPIC = "topic.exchange";
        public static final String DIRECT = "direct.exchange";
        public static final String DEAD_LETTER_EXCHANGE = "direct.dead.letter.exchange";
        public static final String DEAD_LETTER_EXCHANGE_MASSTTL = "direct.dead.letter.exchangeMassTtl";
    }

    /**
     * RoutingKey
     */
    public class RoutingKey {
        public static final String ROUTE_USER = "newUser";
        /**
         * 全量用户保存RoutingKey
         */
        public static final String ROUTE_FIND_ALL = "findAllUser";
        /**
         * 两人组团活动RoutingKey
         */
        public static final String ROUTE_UPDATE_STATUS = "updateStatus";
        /**
         * 两人组团活动，加入团RoutingKey
         */
        public static final String TWO_GROUPS_JOIN = "twoGroupsJoin";

        /**
         * 微信消息, insurance微服务
         **/
        public static final String WEIXIN_MESSAGE_INSURANCE = "weixinMsgInsurance";
    }
}
